<?php
class Service_items_model extends CI_Model {

	public function __construct()
	{
		$this->load->database();
	}
	
	public function get_items($type)
	{	
		$this->db->select('id, title, description, image_url');
		$query = $this->db->get_where('service_items', array('type' => $type));
		return $query;
	}
}